//
//  XPMessageSplitViewController.m
//  QQ
//
//  Created by nhope on 2017/4/26.
//  Copyright © 2017年 xiaopin. All rights reserved.
//

#import "XPMessageSplitViewController.h"

@interface XPMessageSplitViewController ()

@property (nonatomic, weak) NSViewController *leftViewController;
@property (nonatomic, weak) NSViewController *rightViewController;

@end

@implementation XPMessageSplitViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.leftViewController = self.splitViewItems.firstObject.viewController;
    self.rightViewController = self.splitViewItems.lastObject.viewController;
    
    self.leftViewController.view.wantsLayer = YES;
    self.leftViewController.view.layer.backgroundColor = [[NSColor yellowColor] CGColor];
}

@end
